package erChaShuFuXi;

public class Test {
    public static void main(String[] args) {
        BinaryTree binaryTree=new BinaryTree();
        BinaryTree.TreeNode root=binaryTree.createTree();
        binaryTree.createTree();
        System.out.println(binaryTree.size(root));
        System.out.println(binaryTree.getLeafNodeCount(root));
        binaryTree.levelOrder(root);
        System.out.println(binaryTree.levelOrder2(root));
        System.out.println(binaryTree.isCompleteTree(root));
    }
}
